package com.yiku.common;

public class URLConstant {
    /**
     * 钉钉网关gettoken地址（第三方）
     */
    public static final String URL_GET_TOKKEN = "https://oapi.dingtalk.com/service/get_corp_token";
    /**
     * 钉钉网关gettoken地址（企业自建）
     */
    public static final String URL_GET_INNO_TOKKEN = "https://oapi.dingtalk.com/gettoken";

    /**
     *获取用户在企业内userId的接口URL
     */
    public static final String URL_GET_USER_INFO = "https://oapi.dingtalk.com/user/getuserinfo";

    /**
     *获取用户姓名的接口url
     */
    public static final String URL_USER_GET = "https://oapi.dingtalk.com/topapi/v2/user/get";
    /**
     * 获取部门详情的接口
     */
    public static final String URL_DEPT_GET = "https://oapi.dingtalk.com/topapi/v2/department/get";
    /**
     * 发起审批实例的接口url
     */
    public static final String URL_PROCESSINSTANCE_START = "https://oapi.dingtalk.com/topapi/processinstance/create";

    /**
     * 获取审批实例的接口url
     */
    public static final String URL_PROCESSINSTANCE_GET = "https://oapi.dingtalk.com/topapi/processinstance/get";

    /**
     * 发送企业通知消息的接口url
     */
    public static final String MESSAGE_ASYNCSEND = "https://oapi.dingtalk.com/topapi/message/corpconversation/asyncsend_v2";

    /**
     * 删除企业回调接口url
     */
    public static final String DELETE_CALLBACK = "https://oapi.dingtalk.com/call_back/delete_call_back";

    /**
     * 注册企业回调接口url
     */
    public static final String REGISTER_CALLBACK = "https://oapi.dingtalk.com/call_back/register_call_back";

    /**
     * 注册企业回调接口url
     */
    public static final String QUERY_CALLBACK = "https://oapi.dingtalk.com/call_back/get_call_back";
    /**
     * 获取企业下的自定义空间
     */
    public static final String CSPACE = "https://oapi.dingtalk.com/cspace/get_custom_space";
    /**
     * 授权用户访问企业的自定义空间
     */
    public static final String GRANTCSPACE = "https://oapi.dingtalk.com/cspace/grant_custom_space";
    /**
     * 获取jsapi_ticket
     */
    public static final String JSAPI_TICKET = "https://oapi.dingtalk.com/get_jsapi_ticket";
    /**
     * 获取jsapi_ticket
     */
    public static final String CSPACE_INFO = "https://oapi.dingtalk.com/topapi/processinstance/cspace/info";
    /**
     * 撤销表单
     */
    public static final String CANCELLATION_FORM = "https://oapi.dingtalk.com/topapi/process/instance/terminate";
    /**
     * 根据手机号查询用户ID
     */
    public static final String GET_BY_MOBILE = "https://oapi.dingtalk.com/topapi/v2/user/getbymobile";
    public static final String GET_BY_NAME = "https://oapi.dingtalk.com/v1.0/contact/users/search";
    /**
     * 获取子部门id列表
     */
    public static final String GET_CHILD_DEPT_ID = "https://oapi.dingtalk.com/topapi/v2/department/listsubid";
}
